package com.goods.business.service;

import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.business.ProductCategoryVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface ManageService {
    PageVO<ProductCategoryTreeNodeVO> categoryTree(Integer pageNum, Integer pageSize);

    List<ProductCategoryTreeNodeVO> getParentCategoryTree();

    void add(ProductCategoryVO productCategoryVO);

    ProductCategoryVO edit(Long id);

    void update(Long id, ProductCategoryVO productCategoryVO);

    void delete(Long id);

//    List<ProductCategory> categoryTree(ProductCategoryTreeNodeVO productCategoryTreeNodeVO);
}
